import React from 'react'
import style from './App.module.less'
import { Routes } from './router'
import en_US from 'tea-component/lib/i18n/locale/en_US'
import { ConfigProvider } from 'tea-component'
import { HashRouter } from 'react-router-dom'

function App() {
  return (
    <ConfigProvider locale={en_US}>
      <div className={style.App}>
        <HashRouter>
          <Routes />
        </HashRouter>
      </div>
    </ConfigProvider>
  )
}

export default App
